package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA by ChouFy on 2020-03-13.
 *
 * @author zhoufy
 */
@RestController
public class DemoController {

    @RequestMapping("")
    public String demo(String name){
        return "hello " + name;
    }
}
